// Copyright (C) 1991 - 1999 Rational Software Corporation

#include "stdafx.h"
#include "CBookmark.h"



//##ModelId=4BD6D80C0031
void CBookmark::Set(const int &iLevel, const bool &bGroup, const bool &bFavorite, const CString &strName, const CString &strUrl)
{
	m_iLevel = iLevel;
	m_bGroup = bGroup;
	m_bFavorite = bFavorite;
	m_strName = strName;
	m_strUrl = strUrl;
}

//##ModelId=4BD6DA0E01F3
void CBookmark::Get(int &iLevel, bool &bGroup, bool &bFavorite, CString &strName, CString &strUrl) const
{
	iLevel = m_iLevel;
	bGroup = m_bGroup;
	bFavorite = m_bFavorite;
	strName = m_strName;
	strUrl = m_strUrl;
}

CBookmark::CBookmark(const int &iLevel, const bool &bGroup, const bool &bFavorite,
					 const CString &strName, const CString &strUrl)
{
	Set(iLevel, bGroup, bFavorite, strName, strUrl);
}